GET Users/GetSetting?key[0]={key[0]}&key[1]={key[1]}
Returns a list of settings based on the key
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
key |
The array of keys of the settings to retrieve. You may specify more than one. |
Collection of string |
Required |
Body Parameters
None.
Response Information
Resource Description
A list of settings by key
Collection of UserSettingDTOName | Description | Type | Additional information |
---|---|---|---|
UserID |
ID of the user |
globally unique identifier |
None. |
Key |
Key |
string |
None. |
Setting |
User Setting |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "results": [ { "UserID": "b3c566d8-fca3-40c9-95b1-0b74e148758e", "Key": "sample string 2", "Setting": "sample string 3" }, { "UserID": "b3c566d8-fca3-40c9-95b1-0b74e148758e", "Key": "sample string 2", "Setting": "sample string 3" } ] }
text/javascript
Sample:
{"results":[{"UserID":"b3c566d8-fca3-40c9-95b1-0b74e148758e","Key":"sample string 2","Setting":"sample string 3"},{"UserID":"b3c566d8-fca3-40c9-95b1-0b74e148758e","Key":"sample string 2","Setting":"sample string 3"}]}
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
application/xml, text/xml
Sample:
<ArrayOfUserSettingDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Lpp.Dns.DTO"> <UserSettingDTO> <Key>sample string 2</Key> <Setting>sample string 3</Setting> <UserID>b3c566d8-fca3-40c9-95b1-0b74e148758e</UserID> </UserSettingDTO> <UserSettingDTO> <Key>sample string 2</Key> <Setting>sample string 3</Setting> <UserID>b3c566d8-fca3-40c9-95b1-0b74e148758e</UserID> </UserSettingDTO> </ArrayOfUserSettingDTO>